<template>
  <div>
    <Button @click="click">twinsSearch</Button>
  </div>
</template>

<script>
const ref = "twinsSearch";
export default {
  name:ref,
  components: {},
  inject: ["anc"],
  data() {
    return {
      ref,
    };
  },
  props: {
    entry:{
      default:()=>{
        return {}
      }
    }
  },
  watch: {},
  computed: {},
  created() {},
  mounted() {
    this.$nextTick(() => {
      this.ref = this.entry.id;
      this.$set(this.anc.vms, this.ref, this);
    });
  },
  methods: {
    click(){
      this.anc.switchTrace(this.entry,'click')
    }
  }
};
</script>
<style scoped>
</style>